<?php session_start();
if (!isset($_SESSION["username"])) {
    header("Location:userlogin.php");
} else {

?>
    <!DOCTYPE html>
    <html lang="en">

    <head>
        <!-- Required meta tags-->
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <meta name="author" content="">
        <title>好先生 | 家政服务</title>
        <link rel="shortcut icon" href="img/favicon.ico" />
        <!-- Icons font CSS-->
        <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
        <link rel="stylesheet" href="vendor/simple-line-icons/css/simple-line-icons.css">
        <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
        <link href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900" rel="stylesheet">
        <link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet">
        <link href="vendor/mdi-font/css/material-design-iconic-font.min.css" rel="stylesheet" media="all">
        <link href="vendor/font-awesome-4.7/css/font-awesome.min.css" rel="stylesheet" media="all">
        <!-- Font special for pages-->
        <link href="https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

        <!-- Vendor CSS-->
        <link href="vendor/select2/select2.min.css" rel="stylesheet" media="all">
        <link href="css/hover-min.css" rel="stylesheet">


        <!-- Main CSS-->
        <link href="css/main.css" rel="stylesheet" media="all">
        <link href="css/style.css" rel="stylesheet" media="all">
    </head>

    <body>
        <nav class="navbar navbar-expand-lg navbar-light fixed-top" style="background:-webkit-gradient(linear, right top, left top, from(#1da1f2), to(#005f7f));" id="mainNav">
            <div class="container">
                <div class="navbar-header">
                    <a class=" nav-link js-scroll-trigger" href="#top">
                        <img class="img-rounded" src="img/logo.png" />
                    </a>
                </div>
                &nbsp;
                <a class="navbar-brand " href="#page-top">
                    <h2><small style="font-family: Arial;border-bottom: 2px solid gainsboro"><?php echo $_SESSION['name']; ?></small></h2>
                </a>
                <button class="navbar-toggler navbar-toggler-right ml-auto" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
                    菜单
                    <i class="fas fa-bars"></i>
                </button>
                <div class="collapse navbar-collapse" id="navbarResponsive">
                    <ul class="navbar-nav ml-auto">
                        <li class="nav-item">
                            <a class="nav-link js-scroll-trigger hvr-glow" href="user_profile.php">用户资料</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link js-scroll-trigger hvr-glow " href="find_service.php">查找服务</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link js-scroll-trigger hvr-glow " href="user_service.php">记录</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link js-scroll-trigger hvr-glow " href="user_help.php">帮助</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link js-scroll-trigger hvr-glow " href="u_logout.php">退出</a>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>
        <div class="contact">
            <div class="container">
                <div class="row">
                    <div class="col-lg-4">
                        <div class="info">

                            <h1 style="border-bottom: 2px solid beige;margin-top: 80px;font-family: Catamaran">联系方式</h1>

                            <div class="info_title" style="font-family: Catamaran">总公司</div>
                            <div class="text-justify" style="margin-bottom: 10px">
                                <br>
                                <b>地址</b>: 好先生家政服务中心, 邮政编码：657300
                                <br>
                                <b>手机号</b>: +86 18181075781
                                <br>
                                <b>邮箱</b>: 1509939219@qq.com
                                <br><br>

                                <p><a
                                        href="https://www.facebook.com">
                                        <img height="47" width="47"
                                            src="img/face.png"></a>

                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <a
                                        href="http://localhost:3747/">
                                        <img height="47" width="47"
                                            src="img/twitter.png"></a>

                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <a
                                        href="http://localhost:3747/">
                                        <img height="47" width="47"
                                            src="img/li.png"></a>



                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-8 contact_form_col">

                        <h1 style="font-family: Catamaran;border-bottom: 2px solid beige;margin-top: 10px">在此留下你的问题</h1>

                        <div class="contact_form_container">
                            <form action="user_cont_logic.php" method="post" class="contact_form">
                                <div class="row">
                                    <div class="col-md-6">
                                        <input type="text" name="name" class="input_item" placeholder="Your 名字" required="required">
                                    </div>
                                    <div class="col-md-6">
                                        <input type="email" name="email" class="input_item" placeholder="Your E-mail" required="required">
                                    </div>
                                    <div class="col-md-6">
                                        <input type="number" name="phone" class="input_item" placeholder="Your 手机号" required="required">
                                    </div>
                                    <div class="col-md-6">
                                        <input type="text" name="address" class="input_item" placeholder="Your 地址" required="required">
                                    </div>
                                    <div class="col-md-12">
                                        <textarea id="contact_message" name="message" class="input_item contact_message" name="message" placeholder="Your Message" required="required" data-error="Please, write us a message."></textarea>
                                    </div>
                                    <div class="col-md-12">
                                        <button id="contact_btn" type="submit" class="contact_button trans_200" value="Submit">提交</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <section class="features" id="features" style="background:lavender">
            <div class="container">
                <div style="text-align: center">
                    <h1 class="mb-5 text-info" style="font-family:Catamaran;font-size: 50px;">我们团队成员</h1>
                </div>
                <div class="row">
                    <div class="col-sm-12 my-auto">
                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-sm-4">

                                    <div class="feature-item" style="border-top: 2px solid gray">
                                        <i><img class="img-thumbnail hvr-glow" src="img/md.png"></i>
                                        <h3 style="font-family: Catamaran;color: #3b5998;margin-top: 8px;">大妹子</h3>
                                        <p><a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/face.png"></a>

                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            <a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/twitter.png"></a>

                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            <a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/li.png"></a>



                                        </p>
                                    </div>

                                </div>
                                <div class="col-sm-4">

                                    <div class="feature-item" style="border-top: 2px solid gray">
                                        <i><img class="img-thumbnail hvr-glow" src="img/mn.png"></i>
                                        <h3 style="font-family: Catamaran;color: #3b5998;margin-top: 8px;">二妹子</h3>
                                        <p><a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/face.png"></a>

                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            <a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/twitter.png"></a>

                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            <a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/li.png"></a>



                                        </p>
                                    </div>

                                </div>
                                <div class="col-sm-4">

                                    <div class="feature-item" style="border-top: 2px solid gray">
                                        <i><img class="img-thumbnail hvr-glow" src="img/mr.jpeg"></i>
                                        <h3 style="font-family:Catamaran;color: #3b5998;margin-top: 8px;">强子</h3>
                                        <p><a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/face.png"></a>

                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            <a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/twitter.png"></a>

                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            <a
                                                href="http://localhost:3747/">
                                                <img height="47" width="47"
                                                    src="img/li.png"></a>



                                        </p>
                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- Jquery JS-->
        <script src="vendor/jquery1/jquery.min.js"></script>
        <!-- Vendor JS-->
        <script src="vendor/select2/select2.min.js"></script>
        <script src="vendor/jquery-validate/jquery.validate.min.js"></script>
        <script src="vendor/bootstrap-wizard/bootstrap.min.js"></script>
        <script src="vendor/bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
        <script src="vendor/datepicker/moment.min.js"></script>
        <script src="vendor/datepicker/daterangepicker.js"></script>
        <script src="vendor/jquery/jquery.min.js"></script>
        <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

        <!-- Plugin JavaScript -->
        <script src="vendor/jquery-easing/jquery.easing.min.js"></script>


        <script src="js/new-age.min.js"></script>

        <!-- Main JS-->
        <script src="js/global.js"></script>
        <footer>
            <div class="container">
                <p>&copy; 好先生 家政服务. 版权所有.</p>
                <ul class="list-inline">
                    <li class="list-inline-item">
                        <a href="#">隐私</a>
                    </li>
                    <li class="list-inline-item">
                        <a href="#">条款</a>
                    </li>
                </ul>
            </div>
        </footer>
    </body>

    </html>
    <!-- end document-->
<?php
}
?>